package com.atguigu06.polymorphism.exer3;

/**
 * ClassName: Student
 * Package: com.atguigu06.polymorphism.exer3
 * Description:
 *
 * @Author 姜
 * @Create 2023/11/22 15:23
 * @Version 1.0
 */
public class Student extends Person {
    protected String school = "pku";

    public String getInfo() {
        return "Name: " + name + "\n" + "age: " + age + "\n" + "school: " + school;
    }
}
